/*基本*/

import { reqDeptInfoUrl } from '@/api/system/dept/index.ts'

interface ResponseData {
  code: number
  message: string
}
/*dept数据类型*/
export interface SysDept {
  deptId: number
  parentId: number
  ancestors: string
  deptName: string
  orderNum: number
  leader?: string
  phone?: string
  email?: string
  status: string
  delFlag: string
  createBy?: string
  createTime?: string
  updateBy?: string
  updateTime?: string
}

export interface reqMenuList extends ResponseData {
  data: {
    deptList: SysDept[]
  }
}

//////////////////////////////////////

export interface reqDeptInfoData extends ResponseData {
  data: SysDept
}
